package com.doxiaopu.students.organization.service;

import com.doxiaopu.students.organization.entity.Organization;
import com.doxiaopu.students.organization.vo.OrganizationVO;

import java.util.List;
import java.util.Map;

public interface IOrganizationService {
    /**
     * 创建社联
     * @param organization
     * @return
     */
    Integer createCouncil(Organization organization,Integer id);

    /**
     * 获得社联列表
     * @param organizationVO
     * @return
     */
    Map<String, Object> getOrganizationsList(OrganizationVO organizationVO);

    /**
     * APP查询社联信息
     * @param organizationVO
     * @return
     */
    List<Organization> getAPPOrganizations(OrganizationVO organizationVO);

    /**
     * 创建协会
     * @param organization
     * @param id
     * @return
     */
    Integer createAssociation(Organization organization,Integer id);

    /**
     * 获得社团列表
     * @param organizationVO
     * @return
     */
    Map<String, Object> getCommunitytionsList(OrganizationVO organizationVO,Integer id);

    /**
     * 审核社团的申请
     * @param organization
     * @param id
     * @return
     */
    Integer updateApply(Organization organization,Integer id);

    /**
     * 获取APP协会列表
     * @param organizationVO
     * @return
     */
    List<Organization> getAPPCommunitytionss(OrganizationVO organizationVO);

    /**
     * 获得团单详情的协会列表
     * @return
     */
    List<Organization> getSingleCommunitytionss();
}
